// 酷贝LED闪烁演示代码

#include <cupeLed.h>

void CupeLed::init()
{
  pinMode(PC8, OUTPUT | INPUT);
  digitalWrite(PC8, LOW);
}

void CupeLed::loop()
{
  if (millis() - tick > 2000)
  {
    tick = millis();
    digitalWrite(PC8, !digitalRead(PC8));
  }
}
